#ifndef SYSTEMTRAY_H
#define SYSTEMTRAY_H

#include <QObject>
#include <QAction>
#include <QMenu>
#include <QSystemTrayIcon>
#include <QCoreApplication>

class systemTray : public QObject
{
    Q_OBJECT
public:
    systemTray(QWidget *p);

public:
    QWidget *parent;
    QSystemTrayIcon *tray;
    QMenu *contextMenu;
    QAction *aboutAct;
public slots:
    void trayActivated( QSystemTrayIcon::ActivationReason reason );
    void toggleVisibility();
    void showAbout();
};

#endif // SYSTEMTRAY_H
